home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #14 / Monster Media No. 14 (April 1996) (Monster Media, Inc.).ISO / maximus / stbar110.zip / STARHLP.CMD < prev    next >
OS/2 REXX Batch file  |  1996-02-18  |  1KB  |  39 lines

  1. @echo off
  2. rem StarBar helper OS/2 CMD file by fvu (2:292/600@fidonet.org), 14/11/95 00:19
  3. rem ========================================================================
  4. rem usage :
  5. rem Necessary parameters :
  6. rem first parameter : starbar work path
  7. rem second parameter : File to be examined
  8. rem third parameter : Task number for creating a "task-specific" descfile.
  9. rem ========================================================================
  10. rem Here we go!
  11. rem
  12. rem
  13. rem DO NOT FORGET TO SWITCH TO THE CORRECT STARBAR WORK DRIVE/DIR HERE!!!
  14. rem
  15. cd \max\starbar
  16. del descfile.%3
  17. call acle %2 file_id.diz
  18. if not exist file_id.diz goto nodiz
  19. rem diz found, let's rename it!
  20. ren %1file_id.diz descfile.%3
  21. goto end
  22. :nodiz
  23. call acl %2 sdn.id
  24. if not exist %1sdn.id goto nosdn
  25. ren %1sdn.id descfile.%3
  26. goto end
  27. :nosdn
  28. echo StarBar 1.10 was unable to extract more information > %1descfile.%3
  29. echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> %1descfile.%3
  30. echo No commonly used descriptor file could be found inside this archive >> %1descfile.%3
  31. echo Or the file is in a compressed format that's not (yet) supported by >> %1descfile.%3
  32. echo StarBar!. >> %1descfile.%3
  33. echo Or, the file isn't compressed at all.  Please check. >> %1descfile.%3
  34. goto end
  35. :usage
  36. echo !!!This batchfile should be used by starbar only!!!
  37. echo No user serviceable parts inside ;-) ;-)
  38. :end
  39.